import { createApp } from 'vue'
import App from './App.vue'
import router from "./router";
import store from "./store";
import ant from "./utils/ant";
import 'lib-flexible/flexible'
import 'vant/lib/index.css'; // 全局引入样式
import "./style/index.css"
import "./utils/rem"
import { Empty ,Calendar,SwipeCell,RadioGroup, Radio,Picker,DropdownMenu, DropdownItem ,ActionSheet ,Popup ,ActionBar, ActionBarIcon, ActionBarButton,AddressList, AddressEdit,Uploader ,Cell ,Form, Tab, Tabs, Icon, Field, CellGroup, Button, Stepper, Image as VanImage, Checkbox, CheckboxGroup, SubmitBar, TreeSelect, Card, NavBar, Grid, Swipe, SwipeItem, GridItem, Toast, Search, Tabbar, TabbarItem } from 'vant';
// 全局引入样式
// createApp(App)
// .use(router)
// .use(store)
// .use(ant)
// .mount('#app')
const app = createApp(App);
app.use(store)
    .use(router)
    .use(Button)
    .use(Form)
    .use(Field)
    .use(Cell)
    .use(CellGroup)
    .use(Grid)
    .use(GridItem)
    .use(Toast)
    .use(Tabbar)
    .use(TabbarItem)
    .use(Search)
    .use(NavBar)
    .use(Swipe)
    .use(SwipeItem)
    .use(TreeSelect)
    .use(Card)
    .use(SubmitBar)
    .use(Checkbox)
    .use(CheckboxGroup)
    .use(VanImage)
    .use(Stepper)
    .use(Icon)
    .use(Tab)
    .use(Tabs)
    .use(Uploader)
    .use(AddressList)
    .use(AddressEdit)
    .use(ActionBar)
    .use(ActionBarIcon)
    .use(ActionBarButton)
    .use(Popup)
    .use(Calendar)
    .use(ActionSheet)
    .use(DropdownMenu)
    .use(DropdownItem)
    .use(Picker)
    .use(RadioGroup)
    .use(Radio)
    .use(SwipeCell)
    .use(Empty)
    .mount('#app');
